package com.kczd.jinlan.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.kczd.jinlan.R;

import butterknife.InjectView;

/**
 * yang_g
 * 修改登录密码验证
 * Created by Administrator on 2017/5/19.
 */

public class LoginVerificationActivity extends Activity implements View.OnClickListener {
    @InjectView(R.id.but_verification)
     Button but_verification;//验证
    @InjectView(R.id.id_fanhui)
     TextView id_fanhui;//返回

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.loginverification_activity);
    }

    @Override
    public void onContentChanged() {
        but_verification = (Button) findViewById(R.id.but_verification);
        but_verification.setOnClickListener(this);

        id_fanhui = (TextView) findViewById(R.id.id_fanhui);
        id_fanhui.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.but_verification://验证
                startActivity(new Intent(LoginVerificationActivity.this, PassLoginActivity.class));
                break;
            case R.id.id_fanhui://验证
                finish();
                break;
        }
    }
}
